﻿namespace WebOptimizer.Data.Model
{
	public partial interface IResourceManager
	{
		ISource CreateSource(Sidvall.Data.DataRowState? dataRowState);
		ITask CreateTask(Sidvall.Data.DataRowState? dataRowState);
	
		System.Collections.Generic.IEnumerable<ISource> CreateSourceCollection();
		System.Collections.Generic.IEnumerable<ITask> CreateTaskCollection();
		
		void Add(System.Collections.Generic.IEnumerable<ISource> items, ISource item);
		void Add(System.Collections.Generic.IEnumerable<ITask> items, ITask item);
	
		void Clear(System.Collections.Generic.IEnumerable<ISource> items);
		void Clear(System.Collections.Generic.IEnumerable<ITask> items);
	
		void Remove(System.Collections.Generic.IEnumerable<ISource> items, ISource item);
		void Remove(System.Collections.Generic.IEnumerable<ITask> items, ITask item);
	}
}